package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 字典内容实体类
 * @author zj
 * @date 2019年2月14日09:26:00
 */
@Table(name = "sysmn.HSP_BASIC_DATA_VALUE")
public class HspBasicValueEntity extends BaseEntity {

    @Id
    @Column(name = "BASICDATAVALUE_ID", nullable = false)
    private String basicdatavalueId; //

    @Column(name = "BASICDATA_ID", nullable = false)
    private String basicdataId; // 字典名称ID 关联SYS_DICT_NAME. DICT_ID

    @Column(name = "BASICDATAVERSION_ID", nullable = false)
    private String basicdataversionId; // 主诉编码

    @Column(name = "SERIAL_NUMBER", nullable = false)
    private String serialNumber; // 主诉名称

    @Column(name = "PY_CODE", nullable = false)
    private String pyCode; // 拼音码

    @Column(name = "WB_CODE", nullable = false)
    private String wbCode; // 五笔码

    @Column(name = "DATA_VALUE", nullable = false)
    private String dataValue; // 停用标识 0-启用 1-停用

    @Column(name = "DATA_VALUE_REMARK", nullable = false)
    private String dataValueRemark; // 拼音码

    @Column(name = "DATA_UNIT_ID", nullable = false)
    private String dataUnitId; // 五笔码

    @Column(name = "PARENT_DATAVALUE_ID", nullable = false)
    private String parentDatavalueId; // 停用标识 0-启用 1-停用

    @Column(name = "STOP_FLAG")
    private String stopFlag;

    @Column(name = "DEL_FLAG")
    private String delFlag;

    @Column(name = "SOURCE")
    private String source; // 来源 1-新增、2-来源于值域

    @Column(name = "SCORE")
    private Integer score; // 分值

    // 1-普通，2-文本，3-选择，4-勾选，5-数值，6-数值区间
    @Column(name="DATA_VALUE_TYPE")
    private String dataValueType;

    // 属性id， 关联SYSMN.HSP_BASIC_DATA.BASICDATA_ID
    @Column(name="PROPERTY_ID")
    private String propertyId;


    public String getBasicdatavalueId() {
        return basicdatavalueId;
    }

    public void setBasicdatavalueId(String basicdatavalueId) {
        this.basicdatavalueId = basicdatavalueId;
    }

    public String getBasicdataId() {
        return basicdataId;
    }

    public void setBasicdataId(String basicdataId) {
        this.basicdataId = basicdataId;
    }

    public String getBasicdataversionId() {
        return basicdataversionId;
    }

    public void setBasicdataversionId(String basicdataversionId) {
        this.basicdataversionId = basicdataversionId;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getPyCode() {
        return pyCode;
    }

    public void setPyCode(String pyCode) {
        this.pyCode = pyCode;
    }

    public String getWbCode() {
        return wbCode;
    }

    public void setWbCode(String wbCode) {
        this.wbCode = wbCode;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public String getDataValueRemark() {
        return dataValueRemark;
    }

    public void setDataValueRemark(String dataValueRemark) {
        this.dataValueRemark = dataValueRemark;
    }

    public String getDataUnitId() {
        return dataUnitId;
    }

    public void setDataUnitId(String dataUnitId) {
        this.dataUnitId = dataUnitId;
    }

    public String getParentDatavalueId() {
        return parentDatavalueId;
    }

    public void setParentDatavalueId(String parentDatavalueId) {
        this.parentDatavalueId = parentDatavalueId;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getDataValueType() {
        return dataValueType;
    }

    public void setDataValueType(String dataValueType) {
        this.dataValueType = dataValueType;
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId;
    }
}
